<template>
  <div>jsonPostView__</div>
</template>

<script setup lang='ts'>
import { ref, reactive, onUnmounted } from "vue";
// 状态管理 pina  composition API模式
import { useCounterStore } from "@/stores/counter.js";
// composition API模式
const counterStore = useCounterStore();
counterStore.footerTitle = reactive({
  one: "春眠不觉晓， 处处闻啼鸟。 夜来风雨声， 花落知多少。",
  tow: "春晓---唐·孟浩然",
});
// console.log(aaa);

// import { counter } from "@/stores/counter";
// const counter = counter();

// import { qqqqq } from "../../utils/http"; //按需要去引入方法

// let aa = qqqqq().then((res) => {
//   console.log(res);
// });
// const list = ref([]);
// let aa = async () => {
//   const nnn = await qqqqq();
//   console.log(nnn, "oo");
// };
// console.log(aa, "ooo");
// qqqqq();
//导入我们封装的axios
// import { postApi, getApi } from "../../utils/http.js";

// const aa = getApi("/users").then((res) => {
//   console.log(res);
// });
// import { apiAddress } from "../../utils/api.js";

// const aa = apiAddress().then((res) => {
//   console.log(res, "77");
// });
</script>

<style scoped>
</style>